package domain;

/**
 * @author 杨森
 * @date 2022年11月28日 19:43
 */
public class Teacher {
//    t_id     int primary key,#教师号
//    t_name   varchar(32) not null,#教师姓名
//    t_pwd    varchar(32) not null,#教师密码MD5加密
//    t_gender varchar(32) not null,#教师性别
//    t_birth  varchar(32),#教师出生日期
//    t_class  varchar(32) not null default '',#班级
//    t_course varchar(32) not null default ''#课程

    private Integer t_id;
    private String t_name;
    private String t_pwd;
    private String t_gender;
    private String t_birth;
    private String t_class;
    private String t_course;

    public Teacher() {
    }

    public Teacher(Integer t_id, String t_name, String t_pwd, String t_gender, String t_birth, String t_class, String t_course) {
        this.t_id = t_id;
        this.t_name = t_name;
        this.t_pwd = t_pwd;
        this.t_gender = t_gender;
        this.t_birth = t_birth;
        this.t_class = t_class;
        this.t_course = t_course;
    }

    public Integer getT_id() {
        return t_id;
    }

    public void setT_id(Integer t_id) {
        this.t_id = t_id;
    }

    public String getT_name() {
        return t_name;
    }

    public void setT_name(String t_name) {
        this.t_name = t_name;
    }

    public String getT_pwd() {
        return t_pwd;
    }

    public void setT_pwd(String t_pwd) {
        this.t_pwd = t_pwd;
    }

    public String getT_gender() {
        return t_gender;
    }

    public void setT_gender(String t_gender) {
        this.t_gender = t_gender;
    }

    public String getT_birth() {
        return t_birth;
    }

    public void setT_birth(String t_birth) {
        this.t_birth = t_birth;
    }

    public String getT_class() {
        return t_class;
    }

    public void setT_class(String t_class) {
        this.t_class = t_class;
    }

    public String getT_course() {
        return t_course;
    }

    public void setT_course(String t_course) {
        this.t_course = t_course;
    }

    @Override
    public String toString() {
        return t_id+"\t\t"+t_name+"\t\t"+t_gender+"\t\t"+t_birth+"\t\t"+t_class+"\t\t"+t_course;
    }
}
